using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Instedd.Labs.Geo.Library.Sms;

public partial class Home : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.LabelKmlOutputPath.Text = SmsManager.GetManager().Configuration.KmlOutput;
        this.LabelRssOutputPath.Text = SmsManager.GetManager().Configuration.RssOutput;
    }

    protected void LinkButtonDeleteAllMessages_Click(object sender, EventArgs e)
    {
        SmsManager.GetManager().MessagesManager.DeleteAllMessages();
        SmsManager.GetManager().GenerateKml();
        SmsManager.GetManager().GenerateGeoRss();
    }
}
